package edu.upc.galaxy.dao;

import edu.upc.galaxy.entity.CanchaEntity;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.springframework.stereotype.Repository;

/**
 *
 * @author Sonia
 */
@Repository
public interface CanchaDao {
    public Integer insertar(CanchaEntity cancha);
    public void actualizar(CanchaEntity cancha);
    public void eliminar(CanchaEntity cancha);
    public List<CanchaEntity> mostrarCancha() throws Exception;
    public List<CanchaEntity> mostrarCanchasDisponibles(int iddistrito, String dias_atencion)throws Exception;
}
